import request from '@/util/request'

export const selectCourse = function (params = {}) {
  return request.get('admin/course', {
    params,
  })
}
export const deleteCourseList = function (params = {}) {
  return request.delete('/admin/course', {
    params,
  })
}

export const updataCourseList = function (data = {}) {
  return request.post('/admin/course', {
    data,
  })
}
